package com.zyx.mpdemo.common.resp.base;


import com.zyx.mpdemo.common.constant.ResponseCode;
import lombok.Data;

/**
 * @author Yaxi.Zhang
 * @since 2022/10/1 08:32
 */
@Data
public class BaseResponse {

    protected int code = ResponseCode.RESPONSE_CODE_200;
    protected String message;

    public BaseResponse() {
    }

    public BaseResponse(int status, String message) {
        this.code = status;
        this.message = message;
    }

}
